-- GENERATED SPELL FOR [Scarlet Augur] --


function spell0_4284(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4284', 3000, 1)
end

function Sorts_4284(pUnit, Event)
local choix_sorts_4284 = math.random(0, 0)
if choix_sorts_4284 == 0 then
pUnit:RegisterEvent('spell0_4284', 1, 1)
end
end

function mob4284_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4284', math.random(1500, 3000), 1)
end

function mob4284_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4284_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4284_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4284, 1, 'mob4284_Action')
RegisterUnitEvent(4284, 2, 'mob4284_Leave')
RegisterUnitEvent(4284, 3, 'mob4284_Kill')
RegisterUnitEvent(4284, 4, 'mob4284_Die')
